/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.library.forms;
public class Member {
    private String fName;
    private String lName;
    private int  id;
    private String address;
    private String pNumber;

    public Member(String fName, String lName, String address, String pNumber) {
        this.fName = fName;
        this.lName = lName;
        this.address = address;
        this.pNumber = pNumber;
        this.id=(int)(10000+Math.random()*1000);;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    public String getlName() {
        return lName;
    }

    public void setlName(String lName) {
        this.lName = lName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getpNumber() {
        return pNumber;
    }

    public void setpNumber(String pNumber) {
        this.pNumber = pNumber;
    }
   public void print()
   {
   System.out.println("Member Name"+this.getfName());
   
   }
}
